from xpinyin import Pinyin

pinyin = Pinyin()
test = pinyin.get_pinyin('大',tone_marks='marks')
print(test)
